home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir30
/
mcadam1.zip
/
MCD.ZIP
/
MCADAM
/
HPGL2.DOC
< prev
next >
Wrap
Text File
|
1993-06-02
|
12KB
|
280 lines
MICRO CADAM HPGL2.SYS DRIVER
February 12, 1990
Hewlett Packard Graphics Language/2 Driver
INTRODUCTION
Note: The following information pertains to the HPGL2.SYS driver
dated 2/12/90 with a filesize of 37056, and its successors.
This driver can be used to create Hewlett Packard Graphic
Language/2 (HPGL/2) output from MICRO CADAM Cornerstone or MICRO
CADAM PLUS. The HPGL/2 output can be directed to plot files or
can be sent directly to a plotter. By utilizing plot files,
customers have the ability to make use of dedicated plot
workstations, third-party spoolers, plot buffering systems, or
network plotting capabilities. This driver can direct HPGL/2
output directly to plotter attached to a workstation through
either a parallel port or a serial port. The ability to plot
through a parallel port frees up the workstation many times faster
than plotting via serial port communications and is recommended
when data through-put is a concern, and especially when using
electrostatic plotters which can accept and output data much
faster than pen plotters.
INSTALLATION
The HPGL2.SYS driver may be copied from the supplied diskette
using the DOS COPY command. By placing the supplied diskette in
the floppy diskette drive and entering the following command at
the DOS prompt.
COPY A:\HPGL2.SYS C:\MCADAM
If MICRO CADAM is loaded on a drive other than drive c:, please
substitute the appropiate drive letter for the C in the above
statement. The HPGL2.SYS driver is installed in the config.sys
file in the root directory of the workstation's c: drive by using
the following statement:
device=c:\mcadam\hpgl2.sys
The HPGL2.SYS driver should be the only output device driver
installed in the config.sys file. For more information on
installation please refer to the MICRO CADAM Installation Guide,
your local ALTIUM VAR, or the ALTIUM Technical Resource
Center if you have a valid maintenance contract. This driver will
be included with MICRO CADAM PLUS release 1.1 and subsequent
releases of MICRO CADAM Cornerstone.
GENERAL DOS INFORMATION
The HPGL2.SYS driver recognizes a number of DOS environmental
variables. These variables are invoked by using the DOS SET
command. The format of the command is to enter
SET variable=parameters
at the DOS prompt or to include these settings in the autoexec.bat
file in the root directory of drive c: on your computer's hard
disk. Loading them in the autoexec.bat file will cause them to be
in effect at boot time and remain valid until they are reset by
entering different parameters at the DOS prompt. There should be
a single space between the command SET and the environmental
variable. There should be no spaces between the environmental
variable and the equal sign or between the equal sign and the
parameters.
Typing SET followed by the ENTER key will display all current DOS
environment settings. Consult your DOS reference manual for more
information on using the DOS SET command.
To remove a previously defined variable, enter
SET variable=
at the DOS prompt.
DRIVER SPECIFIC INFORMATION
The following variables are recognized by the hpgl2.sys driver:
SET HPGL2=filename
This variable is used to redirect the HPGL/2
output. Where filename can be any valid DOS filename
including DOS device names, such as LPT1, LPT2, LPT3,
COM1, COM2. The default (no filename specified) is to
create HPGL/2 plot files with a naming convention of
plt2file.n, where n is an integer number , ie. 1, 2, 3,
etc. Each time a new HPGL/2 plot file is created the
file number is incremented by one.
SET PAPER_SIZE=hxw
Where h is the height of the paper in whole
number of inches and w is the width of the paper in
whole number of inches. The default PAPER_SIZE is 'E'
size, 32x42 inches. For best results h and w should
correspond to the width and height values of a
particular MICRO CADAM model's plot data.
When specifying PAPER_SIZE, use the media
sizes recommended below for the HP Draftmaster plotter.
The HP Draftmaster has larger margins than other HPGL/2
devices. Using larger PAPER_SIZE may result in clipped
plots on pen plotters. Recommended cut-sheet PAPER_SIZE
values for the HP Draftmaster plotters (Normal Margins).
A size
7x9
B size
10x15
C size
15x21
D size
21x32
E size
32x42
SET UNITS=mm
This changes the PAPER_SIZE units from inches
to millimeters.
SET LONG_AXIS=x
Where x is the length of the paper required
for the plot. Using LONG_AXIS provides the capability
to do long plots. Techniques used to achieve long plots
result in loss of resolution of the plot. Therefore the
smallest length required to fit the entire drawing
should be used. Specify the x length by multiplying the
number of pages or frames required for the plot by the
width (w) specified in PAPER_SIZE.
Example:
For a 50 inch long plot, x=88; for a 34x44
PAPER_SIZE (E size)
For a 50 inch long plot, x=68; for a 22x34
PAPER_SIZE (D size)
For a 100 inch long plot, x=132; for a 34x44
PAPER_SIZE (E size)
SET PENWIDTH=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
The x1 thru x12 index parameters correspond to
a particular pen number. Twelve pens may be assigned a
width. Each of the x's can be a number from 0 to 24,
which correspond to the pen width table defined below.
The pen widths are defined in millimeters.
PEN WIDTH INDEX TABLE
INDEX WIDTH INDEX WIDTH INDEX WIDTH
0 0.35 10 0.50 20 2.0
1 0.125 11 0.625 21 2.5
2 0.15 12 0.70 22 3.0
3 0.1875 13 0.75 23 4.0
4 0.20 14 0.80 24 5.0
5 0.25 15 0.90
6 0.30 16 1.0
7 0.325 17 1.25
8 0.375 18 1.5
9 0.40 19 1.75
PENCOLOR=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
The x1 thru x12 index parameters correspond to a
particular pen number. Twelve pens may be assigned a
color. Each of the x's are a number from 0 to 27, which
correspond to the pen color table defined below. This
environmental variable only effects the operation of
Hewlett Packard raster plotters. The default pen color
for all pens is black.
PEN COLOR INDEX TABLE
INDEX COLOR INDEX COLOR INDEX COLOR
0 white 10 dark red 20 light green
1 black 11 dark green 21 light yellow
2 red 12 dark yellow 22 light blue
3 green 13 dark blue 23 light magenta
4 yellow 14 dark magenta 24 light cyan
5 blue 15 dark cyan 25 light orange
6 magenta 16 dark orange 26 light brown
7 cyan 17 dark brown 27 light gray
8 orange 18 darek gray
9 brown 19 light red
SET PENSCREEN=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
The user can specify the screen vector associated to a
pen. The pen screening determines how screening (or
area fill) is applied to vectors. Vectors are lines,
hatch patterns, arcs, circles, and edges of polygons,
rectangles, and wedges. Each of the x's can be a value
from 0 to 100. A value of 100 is solid. If pen screen
values for less the twelve pens are specified then the
last value supplied will be used for the remaining pens.
This environmental variable only effects the operation
of Hewlett Packard raster plotters. Screening will also
be applied to MICRO CADAM TEXT entities as MICRO CADAM
draws it's text using vectors.
SET PENSPEED=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
The x1 thru x12 parameters correspond to the pen speed
of a particular pen. Twelve pens may be assigned a pen
speed. The appropiate pen speed values are device
dependent, please consult your Hewlett Packard plotter
manual for your particular plotter. The pen speed
parameter is only used for pen plotters. When utilizing
this variable, pen speeds for all twelve pens must be
defined.
SET LINEATTR=kind,value(,kind,value(kind,value))
The user can specify line attributes. Line attributes
specify how lines end and how lines are joined. There
are three line attributes. The first is how a line
ends. The second is how a line joins and the third
defines a miter limit. The miter limit is device
dependent, please consult your Hewlett Packard plotter
manual for more information on your particular plotter.
See table below for the possible kind and value
parameters. Line attributes are only used when working
with PEN WIDTHs that are greater than 0.8 mm. Lines
with PEN WIDTHS less than 0.8 mm are always drawn with
rounded caps, regardless of current attribute settings.
LINE ATTRIBUTE INDEX TABLE
ATTRIBUTE KIND VALUE DESCRIPTION
Line Ends 1 1 Butt (default)
2 Square
3 Triangular
4 Round
Line Joins 2 1 Mitered (default)
2 Mitered/beveled
3 Triangular
4 Round
5 Beveled
6 No join applied
Miter Limit 3 device dependent
SET COPIES=x
This environmental variable specifies the number of
copies that are to be plotted from a single transmission
of the plot data to the plotter. The value can be from
1 to 999. The default is 1 copy.
SET CUTTER=x
This variable instructs the plotter to cut the paper
following the each plot. The value x can be either Y or
N. Default is CUTTER=Y or the cutter is ON. For a
plotters without an automatic cutter or with the take
reel is installed a CUT line will be drawn to simulate
a cutter. Only valid on plotters equiped with an
automatic cutter.
SET ROTATION=x
This variable instructs the plotter to rotate the plot
data at the plotter by a certain angle, expressed in
degrees. The four possible values of x are 0, 90, 180,
and 270. The default rotation is 0.
If you have any questions please contact your ALTIUM VAR or
contact ALTIUM Telemarketing at 1-800-255-5710 to locate your
nearest ALTIUM VAR. You may also contact the ALTIUM
Technical Resource Center if you have a valid technical support
contract